#ifndef _STATEMANAGER_
#define _STATEMANAGER_
#include <vector>
using namespace std;
#include "FWGame.h"
class MainGame;

class StateManager
{
private:
	vector<FWGame*> _listScene;

	static StateManager* _instance;
protected:
	StateManager();
public:
	~StateManager();
	MainGame* preMainGame;
	FWGame* getCurrentScene();
	void addScene(FWGame*);
	void returnPreScene();
	void clearAll();
	static StateManager* getInstance();
	static void releaseInstance();
};

#endif